package corbaEventService;

import cosEventChannelAdmin.AlreadyConnected;
import cosEventChannelAdmin.EventChannel;
import cosEventChannelAdmin.ProxyPullConsumerPOA;
import cosEventChannelAdmin.TypeError;
import cosEventComm.PullSupplier;

public class ProxyPullConsumerImpl extends ProxyPullConsumerPOA {
	private EventChannel channel;	
	
	public ProxyPullConsumerImpl(EventChannel channel) {
		super();
		this.channel = channel;
	}

	@Override
	public void connect_pull_supplier(PullSupplier pull_supplier)
			throws AlreadyConnected, TypeError {
		channel.connect_pull_supplier(pull_supplier);
	}

	@Override
	public void disconnect_pull_consumer() {		

	}

	@Override
	public String getID() {		
		return null;
	}

}
